From: Chong Yidong Date: Fri, 27 Feb 2009 15:31:36 +0000 (+0000) Subject: (keep-lines-read-args): Use empty string as default (Bug#2495). X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~1500 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=f9eed1c66f279c74f0e6d0b058d1d55a4f168be8;p=emacs.git (keep-lines-read-args): Use empty string as default (Bug#2495). --- diff --git a/lisp/replace.el b/lisp/replace.el index 131bfb66f77..a375c87e74f 100644 --- a/lisp/replace.el +++ b/lisp/replace.el @@ -570,7 +570,7 @@ regexp, the last isearch string, and the last replacement regexp." "Read arguments for `keep-lines' and friends. Prompt for a regexp with PROMPT. Value is a list, (REGEXP)." - (list (read-regexp prompt) nil nil t)) + (list (read-regexp prompt "") nil nil t)) (defun keep-lines (regexp &optional rstart rend interactive) "Delete all lines except those containing matches for REGEXP.